<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserLogin.aspx.cs" Inherits="UserLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>User Login</title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <br />
        <br />
        <table style="width: 330px" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" style="height: 21px" bgcolor="royalblue" align="center">
                    <asp:Label ID="lblLogin" runat="server" Font-Bold="True" ForeColor="White" Text="Login"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 132px" bgcolor="whitesmoke" bordercolor="#ffffff">
                    User Type:</td>
                <td style="width: 205px" bordercolor="#ffffff" bgcolor="whitesmoke">
                    <asp:DropDownList ID="dlstUserType" runat="server" OnSelectedIndexChanged="dlstUserType_SelectedIndexChanged"
                        Width="135px" AutoPostBack="True">
                        <asp:ListItem>Admin</asp:ListItem>
                        <asp:ListItem>RMT</asp:ListItem>
                        <asp:ListItem>Customer</asp:ListItem>
                    </asp:DropDownList>
        </td>
            </tr>
            <tr>
                <td style="width: 132px; height: 24px;" bgcolor="whitesmoke" bordercolor="#ffffff">
                    Username:</td>
                <td style="width: 205px; height: 24px;" bordercolor="#ffffff" bgcolor="whitesmoke">
                    <asp:TextBox ID="txtUserID" runat="server" Width="128px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 132px; height: 18px" bgcolor="whitesmoke" bordercolor="#ffffff">
                    Password:</td>
                <td style="width: 205px; height: 18px" bordercolor="#ffffff" bgcolor="whitesmoke">
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="128px"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" style="width: 132px; height: 18px" bgcolor="whitesmoke" bordercolor="#ffffff">
                    <asp:CheckBox ID="chkNew" runat="server" Text="New Customer" TextAlign="Left" Visible="False" />
                </td>
                <td align="right" style="width: 205px; height: 18px" bordercolor="#ffffff" bgcolor="whitesmoke">
                    <asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click" Text="Login" />&nbsp;</td>
            </tr>
            <tr>
                <td align="left" colspan="2" style="height: 18px" bordercolor="#ffffff">
                    <asp:Label ID="lblLoginFailed" runat="server" ForeColor="Red" Text="Login attempt was not successful!"
                        Visible="False"></asp:Label></td>
            </tr>
        </table>
        <br />
        &nbsp;<br /><br />
    </div>
    </form>
</body>
</html>
